//
// Created by 吴喆 on 2020/3/24.
//

#ifndef SUMMER_COLLISIONLISTENER_H
#define SUMMER_COLLISIONLISTENER_H


#include <box2d/box2d.h>

/**
 * 物体碰撞监听器
 */
class CollisionListener : public b2ContactListener {

    void PreSolve(b2Contact *contact, const b2Manifold *oldManifold) override;

public:
    void BeginContact(b2Contact *contact) override;
};


#endif //SUMMER_COLLISIONLISTENER_H
